package com.bonc.service;

import com.bonc.bean.User;
import com.bonc.dao.UserDao;

import java.util.ArrayList;
import java.util.List;

public class UserService {

    public List<User> getAll(){

        List<User> userList = new ArrayList<User>();

        UserDao userDao = new UserDao();
        userList = userDao.getAll();

        return userList;
    }

}
